.PHONY: all clean

all: ChatClient IterativeChatServer

ReliableChannel: ReliableChannel.java
	javac ReliableChannel.java

FIFOReliableChannel: FIFOReliableChannel.java
	javac FIFOReliableChannel.java

ChatClient: ChatClient.java
	javac ChatClient.java

ChatClientRecord: ChatClientRecord.java
	javac ChatClientRecord.java

ChatMessage: ChatMessage.java
	javac ChatMessage.java

IterativeChatServer: IterativeChatServer.java
	javac IterativeChatServer.java

clean:
	rm -rf *.class
